package com.tiancheng.trade.settlement.mapper.merchant;

import com.tiancheng.trade.settlement.bo.MerchantQueryBo;
import com.tiancheng.trade.settlement.mapper.TYBaseMapper;
import com.tiancheng.trade.settlement.model.merchant.Merchant;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Collection;
import java.util.List;

/**
 * @author kellen
 * @date 2021/3/26
 */
@Repository
public interface MerchantMapper extends TYBaseMapper<Merchant> {
    List<MerchantQueryBo> findByMerchantCods(@Param("cods") Collection<String> codes);
}
